
# マイグレーション定義
class ChangeDatatypeOfPriorityColumnOnTask < ActiveRecord::Migration
	def self.up
		change_column(:tasks, :priority, :integer) 
	end
	def self.down
		raise ActiveRecord::IrreversibleMigration, "Can't recover datatype change."
	end
end

